<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="box1"></div>
    <div id="box2"></div>
</body>


<script>
    let box1 = document.querySelector("#box1")
    let box2 = document.querySelector("#box2")
    box1.addEventListener("touchstart",(e)=>{
        console.log("start","box1");
    });
    box1.addEventListener("touchmove",(e)=>{
        console.log("move","box1");
    });
    box1.addEventListener("touchend",(e)=>{
        console.log("end","box1");
    });
</script>
</html>